Skip to content

[skip changelog] Remove obsolete go generate directive #1341

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 1, 2021
Merged

[skip changelog] Remove obsolete go generate directive #1341

merged 1 commit into from
Jul 1, 2021

Conversation

per1234
Copy link
Contributor

@per1234 per1234 commented Jul 1, 2021

Please check if the PR fulfills these requirements

  • The PR has no duplicates (please search among the Pull Requests
    before creating one)
  • The PR follows
    our contributing guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • UPGRADING.md has been updated with a migration guide (for breaking changes)
  • What kind of change does this PR introduce?

bug fix

  • What is the current behavior?

In the early days of Arduino CLI's gRPC interface, the protocol buffer compilation was done via go generate, configured
by a directive comment. The protoc:compile task is now used instead, but the old directive was left in place, where it became outdated through changes to the repository structure.

This directive no longer functions or serves a purpose and might cause confusion to contributors. So it should be removed.

  • What is the new behavior?

The useless directive is removed.

no break

In the early days of Arduino CLI's gRPC interface, the protocol buffer compilation was done via `go generate`, configured
by a directive comment. The `protoc:compile` task is now used instead, but the old directive was left in place, where it
became outdated through changes to the repository structure.

This directive no longer functions or serves a purpose and might cause confusion to contributors. So it should be removed.
@per1234 per1234 added type: bug topic: infrastructure Related to project infrastructure labels Jul 1, 2021
@per1234 per1234 requested review from cmaglie and silvanocerza July 1, 2021 07:27
@per1234 per1234 merged commit 1b055e5 into arduino:master Jul 1, 2021
@per1234 per1234 deleted the remove-go-generate-directive branch July 1, 2021 17:22
@rsora rsora added the type: imperfection Perceived defect in any part of project label Sep 22, 2021
@per1234 per1234 self-assigned this Nov 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: infrastructure Related to project infrastructure type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants